a = ["zhangsan","lisi","wangwu"]
print(a.__len__()) #列表长度
a.append("mazi")
print(a)#添加数据
print(a[0]) #下标查询
a.reverse() #翻转字符串
print(a)